/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
}

h1 {
  font-size: 2em;
  margin: .67em 0
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible
}

a {
  background-color: transparent
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted
}

b,
strong {
  font-weight: bolder
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em
}

small {
  font-size: 80%
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline
}

sub {
  bottom: -.25em
}

sup {
  top: -.5em
}

img {
  border-style: none
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0
}

button,
input {
  overflow: visible
}

button,
select {
  text-transform: none
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText
}

fieldset {
  padding: .35em .75em .625em
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal
}

progress {
  vertical-align: baseline
}

textarea {
  overflow: auto
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit
}

details {
  display: block
}

summary {
  display: list-item
}

template {
  display: none
}

[hidden] {
  display: none
}

body {
  font-family: Inter, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, 微软雅黑, Arial, sans-serif;
  font-weight: 400;
  font-size: var(--tui-font-size-base);
  color: var(--tui-text-color-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent
}

input,
textarea,
button {
  font-family: inherit
}

a {
  color: var(--tui-color-primary);
  text-decoration: none
}

a:hover,
a:focus {
  color: var(--tui-color-primary-light-3)
}

a:active {
  color: var(--tui-color-primary-dark-2)
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--tui-text-color-regular);
  font-weight: inherit
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  margin-top: 0
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
  margin-bottom: 0
}

h1 {
  font-size: calc(var(--tui-font-size-base) + 6px)
}

h2 {
  font-size: calc(var(--tui-font-size-base) + 4px)
}

h3 {
  font-size: calc(var(--tui-font-size-base) + 2px)
}

h4,
h5,
h6,
p {
  font-size: inherit
}

p {
  line-height: 1.8
}

p:first-child {
  margin-top: 0
}

p:last-child {
  margin-bottom: 0
}

sup,
sub {
  font-size: calc(var(--tui-font-size-base) - 1px)
}

small {
  font-size: calc(var(--tui-font-size-base) - 2px)
}

hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid var(--tui-border-color-lighter)
}

/* 基础设置 */
:root {
  --tui-font-family: Inter, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, 微软雅黑, Arial, sans-serif;
  --tui-font-size-extra-small: 12px;
  --tui-font-size-small: 13px;
  --tui-font-size: 14px;
  --tui-font-size-base: var(--tui-font-size);
  --tui-font-size-medium: 16px;
  --tui-font-size-large: 18px;
  --tui-font-size-extra-large: 20px;
  --tui-font-weight-semibold: var(--tui-font-weight-medium);
  --tui-font-weight: 400;
  --tui-font-weight-normal: var(--tui-font-weight);
  --tui-font-weight-medium: 500;
  --tui-font-weight-bold: 700;
  --tui-text-color-primary: var(--tui-color-text-primary);
  --tui-text-color-regular: var(--tui-color-text-regular);
  --tui-text-color-secondary: var(--tui-color-text-secondary);
  --tui-text-color-placeholder: var(--tui-color-text-placeholder);
  --tui-text-color-active: var(--tui-color-text-active);
  --tui-text-color-disabled: var(--tui-color-text-disabled);
  --tui-text-color-hover: var(--tui-color-text-hover);
  --tui-border-color: var(--tui-color-border);
  --tui-border-color-light: var(--tui-color-border-light);
  --tui-border-color-lighter: var(--tui-color-border-lighter);
  --tui-border-color-extra-light: var(--tui-color-border-extra-light);
  --tui-border-color-dark: var(--tui-color-border-dark);
  --tui-border-color-darker: var(--tui-color-border-darker);
  --tui-border-width: 1px;
  --tui-border-style: solid;
  --tui-border-color-hover: var(--tui-text-color-disabled);
  --tui-border: var(--tui-border-width) var(--tui-border-style) var(--tui-border-color);
  --tui-border-radius: 4px;
  --tui-border-radius-none: 0;
  --tui-border-radius-small: 2px;
  --tui-border-radius-base: var(--tui-border-radius);
  --tui-border-radius-round: 20px;
  --tui-border-radius-circle: 50%;
  --tui-bg-color: var(--tui-color-bg);
  --tui-bg-color-light: var(--tui-color-bg-light);
  --tui-bg-color-lighter: var(--tui-color-bg-lighter);
  --tui-bg-color-extra-light: var(--tui-color-bg-extra-light);
  --tui-bg-color-dark: var(--tui-color-bg-dark);
  --tui-bg-color-darker: var(--tui-color-bg-darker);
  --tui-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .04), 0px 8px 20px rgba(0, 0, 0, .08);
  --tui-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .12);
  --tui-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, .12);
  --tui-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, .08), 0px 12px 32px rgba(0, 0, 0, .12), 0px 8px 16px -8px rgba(0, 0, 0, .16);
  --tui-box-shadow-darker: 0px 16px 48px 16px rgba(0, 0, 0, .12), 0px 12px 32px rgba(0, 0, 0, .16), 0px 8px 16px -8px rgba(0, 0, 0, .24);
  /* 水晶阴影效果 */
  --tui-crystal-shadow: 0 4px 15px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  --tui-crystal-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.07), 0 2px 5px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  --tui-crystal-transform: translateY(-1px);
  --tui-crystal-transform-hover: translateY(-2px);
  --tui-spacing: var(--tui-spacing-base);
  --tui-spacing-base: 16px;
  --tui-spacing-small: 8px;
  --tui-spacing-medium: 12px;
  --tui-spacing-large: 20px;
  --tui-transition-all: all 0.3s ease;
  --tui-transition-duration: 0.3s;
  --tui-transition-delay: 0.2s;
}

body {
  font-family: var(--tui-font-family);
  font-size: var(--tui-font-size-base);
  color: var(--tui-text-color-primary);
  background-color: var(--tui-bg-color);
}

/* 暗黑模式 */
html.dark {
  --tui-box-shadow: 0px 12px 32px 4px rgba(255, 255, 255, .04), 0px 8px 20px rgba(255, 255, 255, .08);
  --tui-box-shadow-light: 0px 0px 12px rgba(255, 255, 255, .12);
  --tui-box-shadow-lighter: 0px 0px 6px rgba(255, 255, 255, .12);
  --tui-box-shadow-dark: 0px 16px 48px 16px rgba(255, 255, 255, .08), 0px 12px 32px rgba(255, 255, 255, .12), 0px 8px 16px -8px rgba(255, 255, 255, .16);
  --tui-box-shadow-darker: 0px 16px 48px 16px rgba(255, 255, 255, .12), 0px 12px 32px rgba(255, 255, 255, .16), 0px 8px 16px -8px rgba(255, 255, 255, .24);
  /* 暗色模式水晶阴影效果 */
  --tui-crystal-shadow: 0 4px 15px rgba(255, 255, 255, 0.05), 0 1px 3px rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  --tui-crystal-shadow-hover: 0 6px 20px rgba(255, 255, 255, 0.07), 0 2px 5px rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 24px;
  margin-bottom: 16px;
  color: var(--tui-color-text-primary);
}

h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 24px;
  margin-bottom: 16px;
  color: var(--tui-color-text-primary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--tui-border-color);
}

h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 24px;
  margin-bottom: 16px;
  color: var(--tui-color-text-primary);
}

h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 24px;
  margin-bottom: 16px;
  color: var(--tui-color-text-primary);
}

h5 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  margin-top: 24px;
  margin-bottom: 16px;
  color: var(--tui-color-text-primary);
}

h6 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin-top: 24px;
  margin-bottom: 16px;
  color: var(--tui-color-text-secondary);
}